package com.sjy.MyBlog.biz.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.sjy.MyBlog.bean.User;
import com.sjy.MyBlog.biz.UserBiz;
import com.sjy.MyBlog.dao.UserMapper;

@Service
public class UserBizImpl implements UserBiz {

	@Resource
	private UserMapper userMapper;
	
	@Override
	public User selectUser() {
		return userMapper.selectByPrimaryKey(1);
	}

}
